/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package View.Model;

/**
 *
 * @author emwma
 */
public class Buzzer extends Componente{
    private int volume, tom;

    public Buzzer(int volume, int tom, Porta porta, String nome, boolean estado) {
        super(porta, nome, estado);
        this.volume = volume;
        this.tom = tom;
    }
    
    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }

    public int getTom() {
        return tom;
    }

    public void setTom(int tom) {
        this.tom = tom;
    }
}
